Skip to main content

All Questions

0votes
1answer
89views

Showing modals: Angular directive/libraries VS direct native jQuery/bootstrap calls

I’ve been searching for the best way to handle modals in angular and I'm getting the impression that they need to be separated from controllers in order to achieve separation of concerns in MVC. ...
Saleh's user avatar
0votes
0answers
44views

how to create modal as a directive or service

I have a modal popup, which I used, I don't know how can I create from this current modal a generic service or directive. I have build some directives in my life so I know how to build it. I need ...
Brk's user avatar
  • 1,297
5votes
3answers
93views

How do I make a directive use filtered HTML attributes?

I have a directive that builds a popup menu which automatically collects data from HTML. It is actually supposed to convert a set of Bootstrap carousel-compliant elements, into a list. A catch is that ...
user776686's user avatar
1vote
1answer
142views

How to get width of the div inside the directive?

I have made a div and I want to get its width in its directive. How can I do it? Here is the div: <div scatter-chart id="divVisScatter-{{item}}" class="divVis divVisScatter col-sm-6"> </...
vishalaksh's user avatar
0votes
2answers
1kviews

[[object HTMLUListElement]] while loading custom UI in angularjs

I was trying to load a tree view inside div element of tabular type in Angular JS, but it is not loading the tree view instead it is showing a message as "[[object HTMLUListElement]]" in the UI with ...
user2313833's user avatar
0votes
1answer
43views

Angular - Read Every Response Recieved from API

I want to show a flash message in my angular and PHP(API) App. I am wondering if I can scan every response received from API and if the server returning a JSON array with column as 'flash' then It ...
AngularDev's user avatar
0votes
1answer
890views

using turnjs inside angluarjs bootstrap modal

i have done a modal service based on dan wahlins blog in this model i tried to use turnjs flip book by wrapping it in a angularjs custom directive. the directive code look like follows. mod....
Rangana Sampath's user avatar
1vote
0answers
275views

Angular Bootstrap popover only works once

I have a popover which is working fine the first time I use it but then, it's like it needs to be $compile again. I'm stuck, I don't what I should do. After it worked properly the first time, then ...
abrunet's user avatar
  • 1,122
0votes
1answer
1kviews

Expandable textarea field for chat app using angular directive

I'm using angular/bootstrap and have a particular directive which functions as the actual chat input box to my app. I've gotten the more important expanding behavior done, except I can't quite figure ...
redband's user avatar
-1votes
1answer
106views

why contend show multiple time in angular while using ajax call?

I have two problem in my demo .I am making a pop over .I should open on icon click(here is used star icon).when i click star icon I am able to see pop up screen as I want but problem is that when I ...
Pallavi Sharma's user avatar
1vote
2answers
505views

Angular Directive that adds select2 corrupts model?

I've created a table with ng-repeat and a directive to add a select2 ddl when you click on one of the cells. Everything works beautifully, the selected value is updated in the model (everything with ...
codenewbie's user avatar
0votes
2answers
2kviews

Custom directive won't react to attribute changes

I'm currently building a modal directive that I can use to populate with some data tables. I have an attribute on the directive called modal-visible that will be a boolean value, defaulting at false. ...
user3845941's user avatar
2votes
2answers
4kviews

Angularjs and the bootstrap-select plugin

I want to create an Angular directive to use the bootstrap-select plugin and specifically the option to use a data-subtext attribute on the <option> tag as shown here which would require ...
snajahi's user avatar
0votes
1answer
319views

Why does bootstrap popover not work inside my main template directive?

I'd like to use .popover on the following (from my template): <li ng-repeat="(pid, product) in myProducts" class="status-indicator p{{pid}} {{product.status ? '' : 'disabled'}}" ...
Kesarion's user avatar
1vote
1answer
1kviews

AngularJS and jQuery Calendar Directive to work when clicking on Bootstrap glyphicon?

So far I have created a directive for my calendar using AngularJS and jQuery. When the user selects the input box, jQuery's datepicker will pop-up. I am also trying to make it so that the user can ...
user3261623's user avatar

153050per page
close